﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FisheryPlatform.Entity
{
    public class ProductEntity
    {
        private long _productId;
        /// <summary>
        /// 
        /// </summary> 
        public long ProductId
        {
            get { return _productId; }
            set { _productId = value; }
        }

        private string _title;
        /// <summary>
        /// 
        /// </summary> 
        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        private long _categoryId;
        /// <summary>
        /// 
        /// </summary> 
        public long CategoryId
        {
            get { return _categoryId; }
            set { _categoryId = value; }
        }

        private long _areaId;
        /// <summary>
        /// 
        /// </summary> 
        public long AreaId
        {
            get { return _areaId; }
            set { _areaId = value; }
        }

        private string _description;
        /// <summary>
        /// 
        /// </summary> 
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        private long _type;
        /// <summary>
        /// 1:出售；2:求购
        /// </summary> 
        public long Type
        {
            get { return _type; }
            set { _type = value; }
        }

        private decimal _minPrice;
        /// <summary>
        /// 
        /// </summary> 
        public decimal MinPrice
        {
            get { return _minPrice; }
            set { _minPrice = value; }
        }

        private decimal _maxPrice;
        /// <summary>
        /// 
        /// </summary> 
        public decimal MaxPrice
        {
            get { return _maxPrice; }
            set { _maxPrice = value; }
        }

        private string _contact;
        /// <summary>
        /// 
        /// </summary> 
        public string Contact
        {
            get { return _contact; }
            set { _contact = value; }
        }

        private string _mobile;
        /// <summary>
        /// 
        /// </summary> 
        public string Mobile
        {
            get { return _mobile; }
            set { _mobile = value; }
        }

        private string _phone;
        /// <summary>
        /// 
        /// </summary> 
        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        private ProductStatusEnum _status;
        /// <summary>
        /// 0:外面提交的草稿   1：发布中    2：暂停   255：删除
        /// </summary> 
        public ProductStatusEnum Status
        {
            get { return _status; }
            set { _status = value; }
        }

        private long _clientIp;
        /// <summary>
        /// 
        /// </summary> 
        public long ClientIp
        {
            get { return _clientIp; }
            set { _clientIp = value; }
        }

        private long _userId = 0;
        /// <summary>
        /// 
        /// </summary> 
        public long UserId
        {
            get { return _userId; }
            set { _userId = value; }
        }

        private System.DateTime _updateDate;
        /// <summary>
        /// 
        /// </summary> 
        public System.DateTime UpdateDate
        {
            get { return _updateDate; }
            set { _updateDate = value; }
        }

        private System.DateTime _createDate;
        /// <summary>
        /// 
        /// </summary> 
        public System.DateTime CreateDate
        {
            get { return _createDate; }
            set { _createDate = value; }
        }

        private byte _ShowCustomerInfo = 0;
        /// <summary>
        /// 默认不再网站前台显示客户信息
        /// </summary> 
        public byte ShowCustomerInfo
        {
            get { return _ShowCustomerInfo; }
            set { _ShowCustomerInfo = value; }
        }

    }
}
